Language.syntax = [ 
	{ input  : /(\[[^\]'"]+\])/g , output : "<u>$1</u>" },                          // atributes
	{ input  : /(returns)/g , output : "<u>$1</u>" },                         // return string
	{ input  : /\b([A-Z]\w*)(\b|<br>)/g, output : '<b>$1</b>' },                // terminal
	{ input  : /([a-z]\w*)(<br>|\s|\t|\)|<u>|\[)/g, output : '<a>$1</a>$2' },   // non-terminals
	{ input  : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' },          // strings double quote
	{ input  : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' },         // strings single quote
	{ input  : /(:\s+|\t+|\|)/g, output: '<i>$1</i>'},                        // other stuff
]

Language.snippets = [
   { input : 'ter', output : 'TER \t: (\'a\'..\'z\')+\n;\n' },
   { input : 'non', output : 'a \t: b\n\t| c\n;\n' },
]

Language.complete = []

Language.shortcuts = []
